package demo.controller;

import demo.conpent.User;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class GetUser {

    public User test(){
        User user = new User();
        user.name = "zhangsan";
        user.id = 777;
        System.out.println("aaa");
        return user;
    }
}
